/**
 * www.lifexx.com Inc.
 * Copyright (c) 2014 All Rights Reserved.
 */
package net.mikoo.seals.agent.model;

import java.util.List;

import net.mikoo.seals.agent.common.BaseModel;

/**
 *                       
 * @Filename Menu.java
 *
 * @Description 
 *
 * @Version 1.0
 *
 * @Author chenzx
 *
 * @Email chenzx1206@163.com
 *       
 * @History
 *<li>Author: chenzx</li>
 *<li>Date: 2015年1月22日</li>
 *<li>Version: 1.0</li>
 *<li>Content: create</li>
 *
 */
public class Menu extends BaseModel {
	
	/** Comment for <code>serialVersionUID</code> */
	private static final long	serialVersionUID	= 302839232474201491L;
	
	private Long				menuId;
	
	private Long				parentId;
	
	private String				menuName;
	
	private String				menuCode;
	
	private String				description;
	
	private String				actions;
	
	private Integer				sequence;
	
	private String				isEnable;
	
	private List<Menu> childs;
	
	private Integer level;
	/**
	 * @return Returns the menuId
	 */
	public Long getMenuId() {
		return menuId;
	}
	
	/**
	 * @param menuId
	 * The menuId to set.
	 */
	public void setMenuId(Long menuId) {
		this.menuId = menuId;
	}
	
	/**
	 * @return Returns the parentId
	 */
	public Long getParentId() {
		return parentId;
	}
	
	/**
	 * @param parentId
	 * The parentId to set.
	 */
	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}
	
	/**
	 * @return Returns the menuName
	 */
	public String getMenuName() {
		return menuName;
	}
	
	/**
	 * @param menuName
	 * The menuName to set.
	 */
	public void setMenuName(String menuName) {
		this.menuName = menuName;
	}
	
	/**
	 * @return Returns the description
	 */
	public String getDescription() {
		return description;
	}
	
	/**
	 * @param description
	 * The description to set.
	 */
	public void setDescription(String description) {
		this.description = description;
	}
	
	/**
	 * @return Returns the actions
	 */
	public String getActions() {
		return actions;
	}
	
	/**
	 * @param actions
	 * The actions to set.
	 */
	public void setActions(String actions) {
		this.actions = actions;
	}
	
	/**
	 * @return Returns the sequence
	 */
	public Integer getSequence() {
		return sequence;
	}
	
	/**
	 * @param sequence
	 * The sequence to set.
	 */
	public void setSequence(Integer sequence) {
		this.sequence = sequence;
	}
	
	/**
	 * @return Returns the isEnable
	 */
	public String getIsEnable() {
		return isEnable;
	}
	
	/**
	 * @param isEnable
	 * The isEnable to set.
	 */
	public void setIsEnable(String isEnable) {
		this.isEnable = isEnable;
	}
	
	/**
	 * @return Returns the childs
	 */
	public List<Menu> getChilds() {
		return childs;
	}

	/**
	 * @param childs
	 * The childs to set.
	 */
	public void setChilds(List<Menu> childs) {
		this.childs = childs;
	}

	public String getMenuCode() {
		return menuCode;
	}

	public void setMenuCode(String menuCode) {
		this.menuCode = menuCode;
	}
	
	public Integer getLevel() {
		return level;
	}

	public void setLevel(Integer level) {
		this.level = level;
	}
	
	

	@Override
	public String toString() {
		return "Menu [menuId=" + menuId + ", parentId=" + parentId + ", menuName=" + menuName
				+ ", description=" + description + ", actions=" + actions + ", sequence="
				+ sequence + ", isEnable=" + isEnable;
	}
}
